<template>
  <div class="edit">
    <el-form ref="form" :model="form" :rules="rules" label-width="auto">
      <el-form-item label="指标集名称" prop="name">
        <el-input v-model="form.name" placeholder="请输入指标集名称" />
      </el-form-item>
      <el-form-item label="状态" prop="status">
        <el-select v-model="form.status" placeholder="请选择状态">
          <el-option v-for="dict in this.getDictDatas(DICT_TYPE.COMMON_STATUS)"
                     :key="dict.value" :label="dict.label" :value="parseInt(dict.value)" />
        </el-select>
      </el-form-item>

    </el-form>
  </div>
</template>

<script>
export default {
  name: 'edit',
  data() {
    return {
      form: { }
    }
  }
}
</script>
<style lang="scss" scoped>
.edit {
}
</style>
